@layout("/common/_container.html",{js:["/assets/rec/carrierRecFeeCalc/carrierRecFeeCalc.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">承运商运费计算</span>
</div>

<style type="text/css">
    /*.layui-table-cell {*/
    /*    height: auto;*/
    /*}*/
    /*.layui-table-page{*/
    /*	display: none;*/
    /*}*/
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-tab layui-tab-brief" lay-filter="doTabBrief">
                        <ul class="layui-tab-title">
                            <li class="layui-this">运费计算</li>
                            <li>对账明细</li>
                            <li>承运商绩效</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <div class="layui-form toolbar">
                                    <div class="layui-form-item">
                                        <div class="layui-inline" style="width: 150px;">
                                            <input id="startTime" class="layui-input" type="text" autocomplete="off" placeholder="发车日期从"/>
                                        </div>
                                        <div class="layui-inline">
                                            一
                                        </div>
                                        <div class="layui-inline" style="width: 150px;">
                                            <input id="endTime" class="layui-input" type="text" autocomplete="off" placeholder="发车日期至"/>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="operateId" lay-filter="operateId" lay-search>
                                                <option value="">选择项目</option>
                                                @for(item in basicOperatelist!){
                                                <option value="${item.id}">${item.operateName}</option>
                                                @}
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="carrierId" lay-filter="carrierId" lay-search>
                                                <option value="">选择承运商</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="calculateShippingCost" lay-filter="calculateShippingCost" lay-search>
                                                <option value="">是否生成运费</option>
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="matchRs" lay-filter="matchRs" lay-search>
                                                <option value="">结算状态</option>
                                                <option value="待结算">待结算</option>
                                                <option value="已结算">已结算</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <input id="condition" class="layui-input" type="text" placeholder="关键词"/>
                                        </div>
                                        <div class="layui-inline">
                                            <input id="settlementMonth" class="layui-input" type="text" placeholder="结算月份"/>
                                        </div>

                                        <div class="layui-inline">
                                            <input id="transportNumber" class="layui-input" type="text" placeholder="输入托运单号"/>
                                        </div>
                                        <div class="layui-inline">
                                            <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                            @if(shiro.hasPermission("/dzdz/export")){
                                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                                            @}
                                            <button id="btnJsyf" hidden class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>计算运费</button>
                                        </div>
                                    </div>
                                </div>
                                <table class="layui-table" id="carrierRecFeeCalcTable" lay-filter="carrierRecFeeCalcTable"></table>
                            </div>
                            <div class="layui-tab-item">
                                <div class="layui-form toolbar">
                                    <div class="layui-form-item">
                                        <div class="layui-inline" style="width: 150px;">
                                            <input id="startTime1" class="layui-input" type="text" autocomplete="off" placeholder="发车日期从"/>
                                        </div>
                                        <div class="layui-inline">
                                            一
                                        </div>
                                        <div class="layui-inline" style="width: 150px;">
                                            <input id="endTime1" class="layui-input" type="text" autocomplete="off" placeholder="发车日期至"/>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="operateId1" lay-filter="operateId1" lay-search>
                                                <option value="">选择项目</option>
                                                @for(item in basicOperatelist!){
                                                <option value="${item.id}">${item.operateName}</option>
                                                @}
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="carrierId1" lay-filter="carrierId1" lay-search>
                                                <option value="">选择承运商</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="lineId" lay-filter="lineId" lay-search>
                                                <option value="">选择线路</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="processStatus" lay-filter="processStatus" lay-search>
                                                <option value="">选择流程状态</option>
                                                <option value="待审核">待审核</option>
                                                <option value="已审核">已审核</option>
                                                <option value="已推送">已推送</option>
                                                <option value="已申诉">已申诉</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <input id="condition1" class="layui-input" type="text" placeholder="关键词"/>
                                        </div>
                                        <div class="layui-inline">
                                            <button id="btnSearch1" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                            @if(shiro.hasPermission("/dzdz/export")){
                                                <button id="btnExp1" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                                            @}
                                            <button id="btnshenhe" hidden class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>审核</button>
                                            <button id="btntuisong" hidden class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>推送</button>
                                        </div>
                                    </div>
                                </div>
                                <table class="layui-table" id="fiFreightDetailsTable" lay-filter="fiFreightDetailsTable"></table>
                            </div>
                            <div class="layui-tab-item">
                                <div class="layui-form toolbar">
                                    <div class="layui-form-item">
                                        <div class="layui-inline">
                                            <select id="operateId2" lay-filter="operateId2" lay-search>
                                                <option value="">选择项目</option>
                                                @for(item in basicOperatelist!){
                                                <option value="${item.id}">${item.operateName}</option>
                                                @}
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <select id="carrierId2" lay-filter="carrierId2" lay-search>
                                                <option value="">选择承运商</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline" style="width: 150px;">
                                            <input id="pmaDt" class="layui-input" type="text" autocomplete="off" placeholder="绩效月份"/>
                                        </div>
                                        <div class="layui-inline">
                                            <button id="btnSearch2" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                            <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                                        </div>
                                    </div>
                                </div>
                                <table class="layui-table" id="fiCarrierPmaTable" lay-filter="fiCarrierPmaTable"></table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="edit">修改</a>
</script>
<script type="text/html" id="tableBar2">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
<script type="text/html" id="dispatchNumberTpl">
    {{#  if(d.processStatus != '' && d.processStatus != null){ }}
    <span lay-event="tooTimeLine" style="color: #0000FF">{{ d.processStatus }}</span>
    {{#  } }}
</script>
<script type="text/html" id="consultMoneyTpl">
    {{#  if(d.consultMoney != '' && d.consultMoney != null){ }}
    <i class="layui-icon" lay-event="tooConsultMoneyDetailed" style="color: #2b85e4;">&#xe615;</i><span>{{ d.consultMoney }}</span>
    {{#  } }}
</script>

@}